package com.gamesnet.models;

public class Jeu extends Listable{
	
	private String name, image, description;
	private Console console;
	private long id;
	
	public Jeu(long id, String name, String description, String image,Console console) {
		this.name = name;
		this.image = image;
		this.description = description;
		this.console = console;
		this.id = id;
	}

	public Jeu(long id, String name, String image) {
		this.name = name;
		this.image = image;
		this.id = id;
	}

	@Override
	public String afficher() {
		// TODO Auto-generated method stub
		return name;
	}

	@Override
	public void supprimer() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean isNew() {
		return false;
	}

	@Override
	public String image() {
		// TODO Auto-generated method stub
		return image;
	}

	

	public String getDescription() {
		return description;
	}

	public Console getConsole() {
		return console;
	}

	public long getId() {
		return id;
	}

}
